package com.jic.member.service;

import com.jic.common.base.vo.PageResult;
import com.jic.common.base.vo.RestResult;
import com.jic.member.entity.MemMemberCustomLabel;
import com.jic.member.request.MemMemberCustomLabelRequest;
import com.jic.member.response.MemMemberCustomLabelResponse;

import java.util.List;

public interface MemMemberCustomLabelService {

    RestResult insert(MemMemberCustomLabelRequest memMemberCustomLabelRequrst);

    long delete(Long id);

    long update(MemMemberCustomLabelRequest memMemberCustomLabelRequrst);

    MemMemberCustomLabel queryByPrimaryKey(Long id);

    List<MemMemberCustomLabel> query(MemMemberCustomLabel memMemberCustomLabel);

    RestResult<PageResult<MemMemberCustomLabelResponse>> queryPage(MemMemberCustomLabelRequest memMemberCustomLabelRequrst);

    RestResult deleteInfo(MemMemberCustomLabelRequest request);
}
